package com.chaodev.base.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * vcbase
 *
 * @author 95634
 * @描述
 * @date 2023/5/17 17:24
 **/
@Data
public class ActivityNoticeDto {
    private static final long serialVersionUID = -5173636113207636238L;
    private int page;
    private int rows;
    @ApiModelProperty("活动ID")
    private int id;

    @ApiModelProperty("活动主题")
    private String theme;

    @ApiModelProperty("活动内容")
    private String content;

    @ApiModelProperty("联系电话")
    private String phone;

    @ApiModelProperty("参与人数")
    private String peopleNum;

    @ApiModelProperty("活动开始时间")
    private String startTime;

    @ApiModelProperty("活动结束时间")
    private String endTime;

    @ApiModelProperty("活动地址")
    private String address;

    @ApiModelProperty("报名截止时间")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(locale="zh",timezone="GMT+8",pattern="yyyy-MM-dd HH:mm:ss")
    private Date signUpDeadline;

    @ApiModelProperty("报名要求")
    private String signUpRequirements;

    @ApiModelProperty("活动举办方")
    private String organizer;
    @ApiModelProperty("状态")
    private int state;

    @ApiModelProperty("活动时间")
    private String activityTime;

    @ApiModelProperty("最小参与人数")
    private String peopleMinNum;

    @ApiModelProperty("最大参与人数")
    private String peopleMaxNum;

    @ApiModelProperty("活动举办状态")
    private String actOrganize;

    @ApiModelProperty("数据类型")
    private String dataType;
}
